#
# Be sure to run `pod lib lint JLUIKit.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
#

Pod::Spec.new do |s|
  s.name             = 'JLUIKit'
  s.version          = '0.1.2'
  s.summary          = '基础的UI控件'

# This description is used to generate tags and improve search results.
#   * Think: What does it do? Why did you write it? What is the focus?
#   * Try to keep it short, snappy and to the point.
#   * Write the description between the DESC delimiters below.
#   * Finally, don't worry about the indent, CocoaPods strips it!

  s.description      = <<-DESC
导航栏
web控制器
                       DESC

  s.homepage         = 'https://gitlab.jlpay.com/access-services/common-components/ios-component'
  # s.screenshots     = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
  s.license          = { :type => 'MIT', :file => 'LICENSE' }
  s.author           = { 'lz156' => 'Jack' }
  s.source           = { :git => 'https://gitlab.jlpay.com/access-services/common-components/ios-component.git', :tag => "#{s.name}_v#{s.version}"}
  # s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'

  s.ios.deployment_target = '10.0'
  s.swift_version = '5.0'
  #s.source_files = 'JLUIKit/Classes/**/*'
  
  s.dependency 'Aspects'
  
  s.subspec "JLNavCtr" do |ss|

    ss.subspec "Categroy" do |sss|
      sss.source_files = 'JLUIKit/JLUIKit/Classes/JLNavCtr/Category/*.{h,m,swift}'
    end
    
    ss.source_files = 'JLUIKit/JLUIKit/Classes/JLNavCtr/*.{h,m,swift}'
    ss.resource_bundles = {
      'JLNavCtr' => ['JLUIKit/JLUIKit/Classes/JLNavCtr/*.xcassets']
    }
    
    ss.frameworks = 'UIKit'
  
  end
  
  # s.resource_bundles = {
  #   'JLUIKit' => ['JLUIKit/Assets/*.png']
  # }

  # s.public_header_files = 'Pod/Classes/**/*.h'
  # s.frameworks = 'UIKit', 'MapKit'
   #s.dependency 'UIKit'
end
